package jgl.vajra.kingkong.part.mine.activity;

import jgl.vajra.kingkong.R;
import jgl.vajra.kingkong.databinding.ActivityLegalProvisionsBinding;
import jgl.vajra.kingkong.part.mine.contract.LegalProvisionsContract;
import jgl.vajra.kingkong.part.mine.viewModel.LegalProvisionsViewModel;
import jgl.vajra.kingkong.widget.mvvm.factory.CreateViewModel;
import jgl.vajra.kingkong.widget.mvvm.view.BaseMVVMActivity;
import jgl.vajra.kingkong.widget.utils.ToastUtils;

@CreateViewModel(LegalProvisionsViewModel.class)
public class LegalProvisionsActivity extends BaseMVVMActivity<LegalProvisionsViewModel, ActivityLegalProvisionsBinding> implements LegalProvisionsContract.View {
    @Override
    public int getLayoutId() {
        return R.layout.activity_legal_provisions;
    }

    @Override
    public void initView() {
        super.initView();
        mBinding.setView(this);
    }

    //金钢佬网络货运服务协议
    @Override
    public void onNetworkProtocol() {
        ToastUtils.showShort("金钢佬网络货运服务协议");
    }

    //金钢佬软件信息服务协议
    @Override
    public void onSoftwareProtocol() {
        ToastUtils.showShort("金钢佬软件信息服务协议");
    }

    //金钢佬零担运单契约条款
    @Override
    public void onContractualTerms() {
        ToastUtils.showShort("金钢佬零担运单契约条款");
    }

    //隐私协议
    @Override
    public void onPrivacyAgreement() {
        ToastUtils.showShort("隐私协议");
    }

    //金钢佬平台安全规则
    @Override
    public void onSafetyRules() {
        ToastUtils.showShort("金钢佬平台安全规则");
    }
}
